<%@ include file="../inc/common.jsp"%>
<!DOCTYPE HTML>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<title>课程列表</title>
<style>
	.page{margin-top:5px;border-top: 1px solid #DDDDDD;padding: 2px;border-bottom: 1px solid #DDDDDD;font-family: inherit;font-size: 11px;}
	.page a{border:1px solid #DDDDDD;text-align: center;}
	.page a:HOVER{text-decoration: none;font-color: white;}
	.current{background:#23B300;color:white; display: inline-block;height:19px ;width:19px;}
	.num{display: inline-block;height:19px ;width:19px;}
</style>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 课程管理 <span class="c-gray en">&gt;</span> 课程列表<a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="pd-20">
	<div class="text-c">
	</div>
	<div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l">
	<table class="table table-border table-bordered table-bg">
		<thead>
			<tr>
				<th scope="col" colspan="5">课程列表</th>
			</tr>
			<tr class="text-c">
				<th width="400">课程编号</th>
				<th width="400">课程名</th>
                <th width="400">任课老师</th>
                <th width="400">创建时间</th>
			</tr>
		</thead>
		<tbody>
			<s:if test="page.allCount!=0">
			<s:iterator value="page.records" >
			<tr class="text-c">
				<td>${courseCode}</td>
				<td>${courseName}</td>
				<td>${teacherName}</td>
                <td>${createTimeStr}</td>
			</tr>
			</s:iterator>
				</s:if>
				<s:else>
					<tr class="text-c">
						<td style="text-align: center;" colspan="5">暂无数据!</td>
					</tr>
				</s:else>
		</tbody>
	</table>
        <div class="page">
            ${page.pageCententHTML}
        </div>
</div>

</body>
</html>